package com.erp.freight.mapper;

import com.erp.freight.domain.ErpProductFreightBale;
import com.erp.freight.domain.vo.ErpProductFreightBaleVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

/**
 * 大包运费试算模版（各物流公司运费格读取）Mapper接口
 *
 * @author erp
 * @date 2023-06-25
 */
public interface ErpProductFreightBaleMapper extends BaseMapperPlus<ErpProductFreightBaleMapper, ErpProductFreightBale, ErpProductFreightBaleVo> {

    /**
     * 根据国家编码，获取运费计算模版
     * @param countryCode
     * @return
     */
    ErpProductFreightBale getFreightTemplateByCountryCode(@Param("countryCode") String countryCode,
                                                          @Param("freightType") String freightType);

}
